cmake_minimum_required(VERSION 3.4)
project(string CXX)

set(CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 11)

link_directories(/usr/local/lib)
add_executable(string string3.cpp)
target_include_directories(string PUBLIC /usr/local/include . ..)
target_link_libraries(string pmemobj -lpthread)

message("${CMAKE_BINARY_DIR}")
message("${CMAKE_CURRENT_BINARY_DIR}")
message("${CMAKE_SOURCE_DIR}")
message("${CMAKE_CURRENT_SOURCE_DIR}")